package com.sanpu.kxe.business.main.bean;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * Description：消息
 * Created by 薛勇军 on 2018/7/23.
 */

public class NoticeOutput implements Serializable {

    /** 标题 */
    private String title;

    /** 详情 */
    private String detail;

    /** 时间 */
    private String generateTime;

    /** 是否已读 N 未读   Y 已读*/
    private String msgRead;

    /** 消息id */
    private String id;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getGenerateTime() {
        return generateTime;
    }

    public void setGenerateTime(String generateTime) {
        this.generateTime = generateTime;
    }

    public boolean isMsgRead() {
        return TextUtils.equals("Y", msgRead);
    }

    public String getMsgRead() {
        return msgRead;
    }

    public void setMsgRead(String msgRead) {
        this.msgRead = msgRead;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
